

 x = [16.0784	78.8235	-23.1373	75.6863	31.7647	77.2549];
x = [0.99999799999999972, 4.9999981249999994, -1.5000028749999998, 4.8000016250000002, 1.9999996249999992, 4.8999998750000007];
x = [-0.81840700000000055, -4.9266546250000003, -1.1406313750000008, 2.5047020000000000, -4.9258322500000000, 2.4253651249999990]; 
theta=2*pi/100;
         f=0;
           for t=0:100
               y_t=x(1)*sin(x(2)*t*theta+x(3)*sin(x(4)*t*theta+x(5)*sin(x(6)*t*theta)));
               y_0_t=1*sin(5*t*theta-1.5*sin(4.8*t*theta+2*sin(4.9*t*theta)));
               f=f+(y_t-y_0_t)^2;
           end